package com.ks.pc.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.ks.dto.BrandDto;
import com.ks.dto.OtherDto;
import com.ks.dto.PaginationDto;
import com.ks.dto.Product2Dto;
import com.ks.dto.UserInfoDto;

public interface SysOtherService {

	boolean updateAbout(OtherDto dto);

	OtherDto findOtherById(int i);

	boolean delFileImgs();

	PaginationDto<UserInfoDto> findOnlineOpt(PaginationDto<UserInfoDto> dto, Map<String, Object> param);

	/**
	 * 导出
	 */
	void export(HttpServletRequest request, HttpServletResponse response);

	/**
	 * 预约客户列表删除操作
	 * 
	 * @param idsArr
	 *            p_online_opt表的id
	 * @return
	 */
	boolean deleteOnlineOptByIds(String idsArr);

	/**
	 * 品牌，商品排序
	 * 
	 * @param brands
	 * @param products
	 * @return
	 */
	boolean updateShowIndex(BrandDto[] brands, Product2Dto[] products);

}
